home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PCMania 75
/
PCMania CD75_1.iso
/
pcmania
/
render75
/
foro
/
CRUZ
/
CRIPTEX.INC
< prev
next >
Wrap
Text File
|
1998-10-26
|
15KB
|
795 lines
// -------------------------- TEXTURAS
// Francisco Javier Cruz JimΘnez 1998.
// -------------------------- PIGMENTOS
// PIGMENTO DE PIEDRA 01
// Manchas irregulares de tonos rojizos.
#declare PPiedra_01 =
pigment {
granite
color_map {
[ 0.00 rgb <0.405, 0.395, 0.385> ]
[ 0.60 rgb <0.325, 0.320, 0.315> ]
[ 1.00 rgb <0.320, 0.310, 0.305> ]
}
turbulence 0.75
octaves 5
lambda 1.95
omega 0.55
scale 10
quick_color Gray50
}
// PIGMENTO DE PIEDRA 02
// Manchas de tonos grises oscuros.
#declare PPiedra_02 =
pigment {
bozo
color_map {
[ 0.00 color Gray50 ]
[ 1.00 color Gray30 ]
}
turbulence 1.25
octaves 7
lambda 1.97
omega 0.65
quick_color Gray40
}
// PIGMENTO DE ARGAMASA 01
#declare PArgamasa_01 =
pigment { color rgb <0.35, 0.33, 0.34> }
// PIGMENTO DE ADOBE 01
#declare PAdobe_01 =
pigment {
granite
color_map {
[ 0.00 rgb <75/256, 68/256, 63/256> ]
[ 0.15 rgb <53/256, 49/256, 47/256> ]
[ 0.25 rgb <54/256, 38/256, 33/256> ]
[ 0.50 rgb <53/256, 49/256, 47/256> ]
[ 0.60 rgb <75/256, 68/256, 63/256> ]
[ 1.00 rgb <75/256, 68/256, 63/256> ]
}
turbulence 0.25
scale <0.5, 0.25, 0.9>
quick_color rgb <75/256, 68/256, 63/256>
}
// PIGMENTO DE ADOBE 02
#declare PAdobe_02 =
pigment {
wrinkles
color_map {
[ 0.00 rgb <105/256, 92/256, 84/256> ]
[ 0.25 rgb <104/256, 98/256, 96/256> ]
[ 0.30 rgb <121/256, 105/256, 83/256> ]
[ 0.32 rgb <104/256, 98/256, 96/256> ]
[ 0.50 rgb <105/256, 92/256, 84/256> ]
[ 0.60 rgb <68/256, 55/256, 47/256> ]
[ 0.65 rgb <105/256, 92/256, 84/256> ]
[ 0.90 rgb <88/256, 78/256, 58/256> ]
[ 1.00 rgb <95/256, 84/256, 71/256> ]
}
turbulence 1.5
octaves 6
lambda 1.9
omega 0.5
scale 0.25
quick_color rgb <105/256, 92/256, 84/256>
}
// PIGMENTO DE ARGAMASA 02
#declare PArgamasa_02 =
pigment { rgb <0.2, 0.19, 0.195> }
// PIGMENTO DE BALDOSAS 01
#declare PBaldosas_01 =
pigment {
wrinkles
color_map {
[ 0.0 rgb <0.515, 0.492, 0.488> ]
[ 0.3 rgb <0.443, 0.437, 0.441> ]
[ 0.7 rgb <0.525, 0.490, 0.481> ]
[ 1.0 rgb <0.515, 0.492, 0.488> ]
}
turbulence 0.75
octaves 6
lambda 2
omega 0.45
scale 0.25
quick_color rgb <0.515, 0.492, 0.488>
}
// -------------------------- NORMALES
//NORMAL DE PIEDRA 01
#declare NPiedra_01 =
normal {
granite 1.5
turbulence 0.75
octaves 5
lambda 1.95
omega 0.55
scale 10
}
// NORMAL DE PIEDRA 02
#declare NPiedra_02 =
normal {
bozo 1.5
turbulence 1.25
octaves 7
lambda 1.97
omega 0.6
}
// NORMAL DE ADOBE 01
#declare NAdobe_01 =
normal {
wrinkles 2
turbulence 1.5
octaves 6
lambda 1.9
omega 0.5
scale 0.25
}
// NORMAL DE ADOBE 02
#declare NAdobe_02 =
normal {
crackle 3
turbulence 1.25
octaves 7
lambda 1.2
omega 0.5
}
// NORMAL DE BALDOSAS
#declare NBaldosas =
normal {
bump_map {
gif "azulej.gif"
map_type 0
interpolate 2
bump_size 4
}
translate <-0.5,-0.5, 0>
rotate x*90
}
// -------------------------- TEXTURAS
// ------ TEXTURAS DE SUCIEDAD (CON TRANSPARENCIA)
// TEXTURA DE SUCIEDAD
#declare TSuciedad_01 =
texture {
pigment {
wrinkles
color_map {
[ 0.00 rgbf <0.125, 0.215, 0.095, 0.050> ]
[ 0.20 rgbf <0.105, 0.099, 0.102, 0.250> ]
[ 0.25 rgbf <0.105, 0.117, 0.102, 0.350> ]
[ 0.65 rgbf <0.085, 0.095, 0.060, 0.700> ]
[ 0.85 rgbf <0.000, 0.000, 0.000, 1.000> ]
[ 1.00 rgbf <0.000, 0.000, 0.000, 1.000> ]
}
turbulence 0.5
octaves 5
lambda 1.5
omega 0.4
quick_color Gray30
}
finish {
ambient 0.1
diffuse 0.45
specular 0.15
roughness 0.02
}
}
// TEXTURA DE MUSGO Y L═QUENES
#declare TMusgo_01 =
texture {
pigment {
agate
color_map {
[ 0.00 color DarkGreen filter 0.05 ]
[ 0.25 color DarkOliveGreen filter 0.35 ]
[ 0.40 color DarkOliveGreen filter 0.85 ]
[ 0.45 color YellowGreen filter 0.95 ]
[ 0.65 color Gray30 filter 1.00 ]
[ 1.00 color rgbf <1, 1, 1, 1> ]
}
turbulence 0.75
octaves 6
omega 0.5
lambda 2
quick_color DarkOliveGreen
}
normal {
agate 1
turbulence 0.75
octaves 6
omega 0.575
lambda 2
}
finish {
ambient 0.1
diffuse 0.6
specular 0.075
roughness 0.1
crand 0.025
}
}
// ------ TEXTURAS DE PIEDRA
// TEXTURA DE PIEDRA 01
#declare TPiedra_01 =
texture {
pigment { PPiedra_01 }
normal {
granite 1
turbulence 0.25
octaves 4
omega 0.55
}
finish {
ambient 0.15
diffuse 0.55
specular 0.15
roughness 0.1
crand 0.01
}
scale 10
}
texture { TMusgo_01 scale 10 }
// TEXTURA DE PIEDRA 02
#declare TPiedra_02 =
texture {
pigment { PPiedra_02 }
normal {
granite 0.75
turbulence 1.5
octaves 5
omega 0.5
lambda 2
scale 5
}
finish {
ambient 0.1
diffuse 0.55
specular 0.1
roughness 0.05
}
scale 2.5
}
texture { TSuciedad_01 }
// TEXTURA DE BLOQUES DE PIEDRA PARA ARCOS
#declare TSillar_01 =
texture {
pigment {
radial
pigment_map {
[ 0.00 PPiedra_01 ]
[ 0.97 PPiedra_01 ]
[ 0.98 PArgamasa_01 ]
[ 1.00 PArgamasa_01 ]
}
frequency 16
quick_color Gray40
}
normal {
average
normal_map {
[ 1 radial 1 frequency 16 ]
[ 1
radial
normal_map {
[ 0.00 NPiedra_01 ]
[ 0.97 NPiedra_01 ]
[ 0.98 wrinkles 1 ]
[ 1.00 wrinkles 1 ]
}
frequency 16
]
}
}
finish {
ambient 0.1
diffuse 0.55
specular 0.1
roughness 0.01
}
rotate x*90
}
// ------ TEXTURAS METALICAS
// TEXTURA DE BRONCE ENVEJECIDO
#declare TBronce_01 =
texture {
pigment {
wrinkles
color_map {
[ 0.0 color Bronze ]
[ 0.6 color Bronze ]
[ 0.7 color DarkOliveGreen ]
[ 1.0 color DarkOliveGreen ]
}
turbulence 0.5
octaves 5
lambda 2
omega 0.45
quick_color Bronze
}
normal {
wrinkles 0.75
turbulence 0.5
octaves 5
lambda 2
omega 0.45
}
finish {
ambient 0.1
diffuse 0.45
specular 0.2
roughness 0.01
}
scale <1, 2.5, 1>
}
// TEXTURA DE ORO ENVEJECIDO
#declare TOro_01 =
texture {
pigment {
dents
color_map {
[ 0.0 color OldGold ]
[ 0.6 color Gold ]
[ 1.0 color Copper ]
}
quick_color Gold
}
normal { dents 0.75 }
finish {
ambient 0.15
diffuse 0.5
specular 0.25
roughness 0.01
reflection 0.15
}
scale 0.15
}
// TEXTURA DE HIERRO OXIDADO
#declare THierro_Oxidado =
texture {
pigment {
agate
color_map {
[ 0.00 rgb <0.21, 0.10, 0.10> ]
[ 0.50 rgb <0.25, 0.25, 0.01> ]
[ 0.60 rgb <0.30, 0.10, 0.10> ]
[ 0.61 rgb <0.15, 0.10, 0.10> ]
[ 1.00 rgb <0.15, 0.10, 0.10> ]
}
agate_turb 0.5
quick_color rgb <0.15, 0.1, 0.1>
}
normal {
agate 0.5
agate_turb 0.5
}
finish {
ambient 0.125
diffuse 0.55
specular 0.25
roughness 0.001
}
scale 2
}
// TEXTURA DE HIERRO
#declare THierro_02 =
texture {
pigment {
bumps
color_map {
[ 0.00 rgb <0.300, 0.295, 0.297> ]
[ 0.60 rgb <0.305, 0.296, 0.295> ]
[ 0.75 rgb <0.315, 0.305, 0.025> ]
[ 0.90 rgb <0.285, 0.284, 0.015> ]
[ 1.00 rgb <0.190, 0.185, 0.005> ]
}
turbulence 0.25
omega 0.5
scale <1, 2, 1>
quick_color rgb <0.300, 0.295, 0.297>
}
normal {
bumps 0.5
turbulence 0.25
scale <1, 2, 1>
}
finish {
ambient 0.125
diffuse 0.55
specular 0.25
roughness 0.001
reflection 0.05
}
}
// TEXTURAS DE RELIEVES
// TEXTURA RELIEVE DE ADORNO
#declare TRelieve_01 =
texture {
pigment { PPiedra_01 }
normal {
bump_map {
gif "congo4.gif"
map_type 0
use_color
interpolate 2
bump_size 3
}
translate <-0.5,-0.5, 0>
scale <20, 10, 1>
}
finish {
ambient 0.15
diffuse 0.5
specular 0.1
roughness 0.01
crand 0.01
}
}
// TEXTURA DE RELIEVE DE ANGEL
#declare TRelieve_02 =
texture {
pigment { PPiedra_01 }
normal {
bump_map {
gif "angel.gif"
map_type 0
use_color
interpolate 2
bump_size 3
}
translate <-0.5, -0.5, 0>
}
finish {
ambient 0.15
diffuse 0.5
specular 0.1
roughness 0.01
crand 0.01
}
}
// TEXTURA DE RELIEVE DE INSCRIPCI╙N
#declare TRelieve_03 =
texture {
pigment { PPiedra_01 }
normal {
bump_map {
gif "lapida.gif"
map_type 0
once
interpolate 2
bump_size 3
}
translate <-0.5,-0.5, 0>
rotate x*90
rotate -y*90
scale <105, 1, 55>*2.01
}
finish {
ambient 0.1
diffuse 0.5
specular 0.15
roughness 0.01
}
}
texture { TSuciedad_01 }
// TEXTURA DE RELIEVE 04
#declare TRelieve_04 =
texture {
pigment { PPiedra_01 }
normal {
bump_map {
gif "angel2.gif"
map_type 0
once
interpolate 2
bump_size 3
}
translate <-0.5,-0.5, 0>
}
finish {
ambient 0.1
diffuse 0.5
specular 0.15
roughness 0.01
}
}
texture { TSuciedad_01 }
// TEXTURA DE RELIEVE 05
#declare TRelieve_05 =
texture {
pigment { PPiedra_02 }
normal {
bumps 1
scale <2.5, 1, 1>
rotate z*45
}
finish {
ambient 0.1
diffuse 0.5
specular 0.35
roughness 0.001
}
}
// TEXTURA DE ADOBE
#declare TAdobe_01 =
texture {
pigment {
crackle
pigment_map {
[ 0.000 PAdobe_01 ]
[ 0.035 PAdobe_01 ]
[ 0.075 PAdobe_02 ]
[ 1.000 PAdobe_02 ]
}
turbulence 0.75
octaves 6
lambda 1.4
omega 0.35
quick_color Brown
}
normal {
average
normal_map {
[ 1.0 NAdobe_01 ]
[ 0.5 NAdobe_02 ]
}
}
finish {
ambient 0.1
diffuse 0.5
specular 0.05
roughness 0.01
}
scale 25
}
texture { TMusgo_01 scale 12 }
// TEXTURA DE HALO PARA LA LLAMA DE LA VELA
#declare Llama_Vela =
texture {
pigment { rgbt <1, 1, 1, 1> }
halo {
emitting
planar_mapping
linear
color_map {
[ 0.0 color Blue transmit 1.0 ]
[ 0.7 color Yellow transmit 0 ]
[ 1.0 color Orange transmit -0.5 ]
}
turbulence 0.15
samples 10
scale <1, 9, 1>
}
}
// TEXTURE DE HALO PARA LA LLAMA DEL BRASERO
#declare Llama_Brasero =
texture {
pigment { rgbt <1, 1, 1, 1> }
halo {
emitting
spherical_mapping
linear
color_map {
[ 0.00 color Red transmit 1 ]
[ 1.00 color Yellow transmit -1 ]
}
samples 10
aa_level 3
aa_threshold 0.3
turbulence 0.75
octaves 6
lambda 2
omega 0.55
rotate x*180
scale 0.75
}
}
// TEXTURA DE CERA DE VELA
#declare TVela =
texture {
pigment {
color rgb <225/256, 206/256, 140/256>
}
normal {
bumps 0.5
scale <0.5, 3, 0.5>
}
finish {
ambient 0.15
diffuse 0.6
specular 0.15
roughness 0.0075
}
}
// TEXTURA DE BALDOSAS DE PIEDRA
#declare TBaldosas =
texture {
pigment {
brick
pigment { PBaldosas_01 }
pigment { PArgamasa_02 }
brick_size <1, 1, 1>
mortar 1
}
normal {
average
normal_map {
[ 1 NBaldosas ]
[ 0.4 granite 1 ]
}
}
finish {
ambient 0.1
diffuse 0.475
specular 0.2
roughness 0.015
}
scale 30
}
// TEXTURA DE TIERRA
#declare TTierra =
texture {
pigment {
bozo
color_map {
[ 0.0 rgb <106/256, 86/256, 49/256> ]
[ 0.3 rgb <99/256, 83/256, 41/256> ]
[ 0.6 rgb <106/256, 86/256, 49/256> ]
[ 1.0 rgb <96/256, 79/256, 43/256> ]
}
turbulence 0.25
omega 0.5
quick_color rgb <106/256, 86/256, 49/256>
}
normal {
wrinkles 2
turbulence 1.5
omega 0.45
scale 2
}
finish {
ambient 0.1
diffuse 0.6
specular 0.05
roughness 0.001
}
}
#declare TTierra_02 =
texture {
pigment {
bozo
color_map {
[ 0.0 color DarkWood ]
[ 0.6 color DarkTan ]
[ 1.0 color rgb <0.375, 0.385, 0.210> ]
}
turbulence 1.5
omega 0.45
scale 0.25
quick_color DarkWood
}
normal {
wrinkles 1
turbulence 0.25
scale 0.5
}
finish {
ambient 0.1
diffuse 0.5
}
}
// TEXTURA DE MADERA 01
#declare TMadera_01 =
texture {
pigment {
wood
color_map {
[ 0.000 color rgb<0.266, 0.171, 0.093> ]
[ 0.202 color rgb<0.351, 0.215, 0.111> ]
[ 0.525 color rgb<0.316, 0.197, 0.106> ]
[ 0.638 color rgb<0.093, 0.053, 0.027> ]
[ 1.000 color rgb<0.232, 0.133, 0.068> ]
}
turbulence 0.05
octaves 6
lambda 1.9
omega 0.4
quick_color MediumWood
}
normal {
wood 0.75
turbulence 0.05
octaves 6
lambda 1.9
omega 0.375
}
finish {
ambient 0.12
diffuse 0.5
specular 0.05
roughness 0.01
}
rotate <-90, 0, 90>
scale 3
}
texture {
pigment {
spotted
color_map {
[ 0.0 ForestGreen filter 0.05 ]
[ 0.1 HuntersGreen filter 0.15 ]
[ 0.5 DarkOliveGreen filter 0.5 ]
[ 1.0 Clear ]
}
turbulence 1.75
octaves 6
lambda 2
omega 0.55
quick_color MediumWood
}
normal {
spotted 0.5
turbulence 1.75
octaves 6
lambda 2
omega 0.55
}
finish {
ambient 0.1
diffuse 0.5
specular 0.1
roughness 0.01
}
rotate <-90, 0, 90>
scale <1, 1, 3>
scale 3
}